package cn.mineserv.video.videoordersystem.dao;

import cn.mineserv.video.videoordersystem.model.Category;
import cn.mineserv.video.videoordersystem.model.CategoryExample;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface CategoryDao extends BaseMapper<Category> {
    long countByExample(CategoryExample example);

    int deleteByExample(CategoryExample example);

    List<Category> selectByExample(CategoryExample example);

    int updateByExampleSelective(@Param("record") Category record, @Param("example") CategoryExample example);

    int updateByExample(@Param("record") Category record, @Param("example") CategoryExample example);

    int updateBatch(List<Category> list);

    int updateBatchSelective(List<Category> list);

    int batchInsert(@Param("list") List<Category> list);

    int insertOrUpdate(Category record);

    int insertOrUpdateSelective(Category record);
}